include ../../makeconf

ADD		= $(ENVPATHJOIN)
LIBPATH = $(SOURCE_HOME)/product/jar
CLSPATH	= $(LIBPATH)/webx.jar$(ADD)$(LIBPATH)/json/gson.jar$(ADD)$(LIBPATH)/http/httpcore.jar$(ADD)$(LIBPATH)/http/httpclient.jar$(ADD)$(LIBPATH)/http/commons-logging.jar$(ADD)$(LIBPATH)/mysql/mysql.jar$(ADD)$(LIBPATH)/sqlite/sqlite.jar

target: init
	javac -encoding utf-8 `find -name \*.java` -cp "$(CLASSPATH)$(ADD)$(CLSPATH)" -d bin

clean:
	@touch tmp.class
	@rm `find -name \*.class` 2> /dev/null

init:
	@$(MKDIR) -p bin